package org.itboys.weixin;

import org.itboys.commons.utils.ajax.AjaxUtils;
import org.itboys.framework.spring.controller.BaseController;
import org.itboys.fuzion.kuaiqian.KQPayInfo;
import org.itboys.fuzion.kuaiqian.KQService;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by weisky on 2016/6/17.
 */
@RestController
public class KQPayController extends BaseController {


    public static void main(String[] args){
        KQPayInfo info = new KQPayInfo("147258369", new BigDecimal(0.1), 1L, "能量豆", "10", "", "");
        String result = KQService.postAndResult(info);
        System.out.println(result);
    }

}
